using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_KeHoachBaoTriEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_KeHoachBaoTriEntity()
         {
             tableName = "TBL_KeHoachBaoTri";


			 fieldInfos.Add(new FieldInfo("TBL_KeHoachBaoTri","GhiChu","GhiChu","string",200,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_KeHoachBaoTri","LanBaoTri","LanBaoTri","int",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_KeHoachBaoTri","MaKeHoachBT","MaKeHoachBT","string",10,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_KeHoachBaoTri","Nam","Nam","int",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_KeHoachBaoTri","NoiDungBaoTri","NoiDungBaoTri","string",500,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_GhiChu;
		 protected int m_LanBaoTri;
		 protected string m_MaKeHoachBT;
		 protected int m_Nam;
		 protected string m_NoiDungBaoTri;

		 public string GhiChu

          { 
                get { 
                    return m_GhiChu;}

                set{m_GhiChu=value;

                    GetField("GhiChu").Set();
                    GetField("GhiChu").IsNull=(value == null);           
                    }
          }
		 public int LanBaoTri

          { 
                get { 
                    return m_LanBaoTri;}

                set{m_LanBaoTri=value;

                    GetField("LanBaoTri").Set();
                    GetField("LanBaoTri").IsNull=(value == null);           
                    }
          }
		 public string MaKeHoachBT

          { 
                get { 
                    return m_MaKeHoachBT;}

                set{m_MaKeHoachBT=value;

                    GetField("MaKeHoachBT").Set();
                    GetField("MaKeHoachBT").IsNull=(value == null);           
                    }
          }
		 public int Nam

          { 
                get { 
                    return m_Nam;}

                set{m_Nam=value;

                    GetField("Nam").Set();
                    GetField("Nam").IsNull=(value == null);           
                    }
          }
		 public string NoiDungBaoTri

          { 
                get { 
                    return m_NoiDungBaoTri;}

                set{m_NoiDungBaoTri=value;

                    GetField("NoiDungBaoTri").Set();
                    GetField("NoiDungBaoTri").IsNull=(value == null);           
                    }
          }

}
}
